import java.util.Calendar;
import java.util.Scanner;

public class TimerPrint implements  Runnable {
    String name;
    public TimerPrint(String name){
        this.name=name;
    }

    public void run(){
        System.out.println(name+":"+ Calendar.getInstance().getTime());

    }

    public static void main(String[] args) {
        Thread t1 = new Thread(new TimerPrint("t1"));
        t1.start();

        Thread t2 = new Thread(new TimerPrint("t2"));
        t2.start();
    }
}
